from django.conf.urls import url
from django.contrib import admin
from django.urls import include, path
from . import view, testdb
 
urlpatterns = [
    url(r'^hello$', view.hello),
    url(r'^testdb$', testdb.testdb),
    url(r'^getList$', testdb.getList),
    url(r'^search$', testdb.search),

    # url(r'^admin/', admin.site.urls),
    path('admin2/', admin.site.urls),

    #django 自带admin/ 后台
    #path('admin/', admin.site.urls),
    #包含其他urls
    path('polls/', include('polls.urls')),
    path('', include('blog.urls')),
]
